package com.shenmazong.serverwebpoem.service;

import com.shenmazong.serverwebpoem.pojo.TbAdmin;

import java.util.List;

/**
 * @author 田不平
 * @project server-web-poem
 * @date 2020/3/23 4:19 PM
 * http://www.shenmazong.com
 */
public interface TbAdminService {

    void add(TbAdmin admin);
    void del(Integer id);
    void set(TbAdmin admin);
    TbAdmin getById(Integer id);
    TbAdmin getByName(String name);
}
